package luccy.arithmetics;

import junit.framework.TestCase;

public class ExprTest extends TestCase {

	public void test1() throws Exception {
		System.out.println("^ using...");
		boolean b1 = false;
		boolean b2 = false;
		System.out.println(b1 ^ b2);
		
		b1 = true;
		b2 = false;
		System.out.println(b1 ^ b2);

		b1 = false;
		b2 = true;
		System.out.println(b1 ^ b2);

		b1 = true;
		b2 = true;
		System.out.println(b1 ^ b2);

		System.out.println("| using...");
		b1 = false;
		b2 = false;
		System.out.println(b1 | b2);

		b1 = true;
		b2 = false;
		System.out.println(b1 | b2);

		b1 = false;
		b2 = true;
		System.out.println(b1 | b2);

		b1 = true;
		b2 = true;
		System.out.println(b1 | b2);


	}
}
